package com.lagou.rpcproviderspringboot.service;

import com.lagou.rpcproviderspringboot.framework.annotation.RpcService;
import com.lagou.service.IUserService;

@RpcService
public class UserServiceImpl implements IUserService {

    //将来客户单要远程调用的方法
    public String sayHello(String msg) {
        System.out.println("are you ok ? "+msg);
        return "success";
    }
}
